package org.bookie.framework;

import java.util.Iterator;
import java.util.List;

/**
 * A placeholder for a number of (static) methods that don't belong elsewhere, as well as a global
 * location for static constants.
 *
 */
public class Bookie {
	
	public static String listToString(List list){
		StringBuffer sb = new StringBuffer();
		Iterator i = list.iterator();
		while(i.hasNext()){
			sb.append(i.next());
			if(i.hasNext()){
				sb.append(", ");
			}
		}
		return sb.toString();
	}
}
